﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="P_WSC.aspx.cs"
    Inherits="SAP.P_WSC" %>
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript" src="../../js/jquery-1.4.3.min.js"></script>
    <script type="text/javascript" src="../../js/main.js"></script>
    <link href="../../skin/skin.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
      
        
        function PopupPrint() {


            <%Session["DocumentType123"] ="AA";%>
 
        }
       
        </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManagerEditItem" runat="server" EnablePartialRendering="true">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="editItemUpdatePanel" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="True">       
        <ContentTemplate>
            <span class="style1">WARRANTY SERVICE CLAIM (A)</span><br />

            <table border="0" width="100%">
                        <tr>
                        <td style="width:50%">
                            <table border="0" width="100%" style="background-color: #C9DBF2;"> 
                            <tr>
                                <td  style="width: 15%"  class="FormLineItemAlt">Date</td>
                                 <td  style="width: 35%"  class="FormLineItemAlt">
                                     <asp:TextBox ID="txtDate" runat="server" Enabled="False" Width="35%"></asp:TextBox>
                                </td>
                                          <td  style="width: 15%"  class="FormLineItemAlt">Customer Name:</td>
                                 <td  style="width: 35%"  class="FormLineItemAlt">
                                     <asp:TextBox ID="txt_CusName" runat="server" Width="90%" Enabled="False"></asp:TextBox>
                                 </td>
                            </tr>
                             <tr>
                                <td  style="width: 15%"  class="FormLineItemAlt">Registration Number</td>
                                 <td  style="width: 35%"  class="FormLineItemAlt">
                                     <asp:TextBox ID="txt_RegistrationNum" runat="server" 
                                         Width="90%"></asp:TextBox>
                                 </td>
                                         <td  style="width: 15%">VIN:</td>
                                 <td  style="width: 35%"  class="FormLineItemAlt">
                                     <asp:TextBox ID="txt_VIN" runat="server" Enabled="False" Width="90%"></asp:TextBox>
                                 </td>
                            </tr>
                            <tr>
                                <td  style="width: 15%"  class="FormLineItemAlt">Distributor</td>
                                 <td  style="width: 35%"  class="FormLineItemAlt">
                                     <asp:TextBox ID="txt_DistCode" runat="server" Width="35%"></asp:TextBox>
                                     <asp:TextBox ID="txt_DistName" runat="server" ClientIDMode="Static" 
                                         Width="55%"></asp:TextBox>
                                </td>
                                         <td  style="width: 15%">Failure Date:</td>
                                 <td  style="width: 35%"  class="FormLineItemAlt">
                                     <asp:TextBox ID="txt_FailureDate" runat="server"></asp:TextBox>
                                     <cc1:CalendarExtender ID="txt_ActualDate_CalendarExtender" runat="server" 
                                         Format="dd/MM/yyyy" PopupButtonID="ImageButton7" 
                                         TargetControlID="txt_FailureDate">
                                     </cc1:CalendarExtender>
                                     <asp:ImageButton ID="ImageButton7" runat="Server" 
                                         AlternateText="Click to show calendar" 
                                         ImageUrl="~/Images/Calendar_scheduleHS.png" />
                                     &nbsp;KD:<asp:TextBox ID="txt_KD" runat="server" Width="12%"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td  style="width: 15%"  class="FormLineItemAlt">Dealer</td>
                                 <td  style="width: 35%"  class="FormLineItemAlt">
                                     <asp:TextBox ID="txt_DealerCode" runat="server" Enabled="False" Width="35%" 
                                         ClientIDMode="Static"></asp:TextBox>
                                     <asp:TextBox ID="txt_DealerName" runat="server" ClientIDMode="Static" 
                                         Enabled="False" Width="55%"></asp:TextBox>
                                </td>
                                 <td  style="width: 15%"  class="FormLineItemAlt">Odometer:</td>
                                 <td  style="width: 35%"  class="FormLineItemAlt">
                                     <asp:TextBox ID="txt_Odometer" runat="server" Enabled="False" Width="33%"></asp:TextBox>
                                </td>
                            </tr>
                             <tr>
                                <td  style="width: 15%"  class="FormLineItemAlt">Seq No</td>
                                 <td  style="width: 35%"  class="FormLineItemAlt">
                                     <asp:TextBox ID="txt_SeqNo" runat="server" Width="21%" Enabled="False"></asp:TextBox>
                                     S:
                                     <asp:TextBox ID="txt_S" runat="server" Width="12%"></asp:TextBox>
                                     ID:
                                     <asp:TextBox ID="txt_ID" runat="server" Width="12%"></asp:TextBox>
                                     T:<asp:TextBox ID="txt_T" runat="server" Width="12%"></asp:TextBox>
                                     DIV:<asp:TextBox ID="txt_DIV" runat="server" Width="12%"></asp:TextBox>
                                 </td>
                                         <td  style="width: 15%"  class="FormLineItemAlt">Sold Date:</td>
                                 <td  style="width: 35%"  class="FormLineItemAlt">
                                     <asp:TextBox ID="txt_SoldDate" runat="server" ClientIDMode="Static" 
                                         Enabled="False" Width="33%"></asp:TextBox>
                                </td>
                            </tr>
                             <tr>
                                <td  style="width: 15%"  class="FormLineItemAlt">Invoice Date:</td>
                                 <td  style="width: 35%"  class="FormLineItemAlt">
                                     <asp:TextBox ID="txt_InvoiceDate" runat="server" Enabled="False" Width="35%"></asp:TextBox>
                                 </td>
                                         <td class="FormLineItemAlt" style="width: 15%">Hour Meter Reading:</td>
                                 <td class="FormLineItemAlt" style="width: 35%">
                                     <asp:TextBox ID="txt_HourMeter" runat="server" Width="33%"></asp:TextBox>
                                     MANU:<asp:TextBox ID="txt_Manu" runat="server" 
                                         Width="46%"></asp:TextBox>
                                 </td>
                            </tr>

                             <tr>
                                <td  style="width: 15%"  class="FormLineItemAlt">Condition Code:</td>
                                 <td  style="width: 35%"  class="FormLineItemAlt">
                                     <asp:TextBox ID="txt_ConditionCode" runat="server"  Width="35%"></asp:TextBox>
                                     A:
                                     <asp:TextBox ID="txt_A" runat="server"  Width="12%"></asp:TextBox>
                                     B:
                                     <asp:TextBox ID="txt_B" runat="server" Width="12%"></asp:TextBox>
                                     C:
                                     <asp:TextBox ID="txt_C" runat="server"  Width="12%"></asp:TextBox>
                                 </td>
                                         <td class="FormLineItemAlt" style="width: 15%">Reference Code:</td>
                                 <td class="FormLineItemAlt" style="width: 35%">
                                     <asp:TextBox ID="txt_RefCode" runat="server" Width="33%"></asp:TextBox>
                                     M:
                                     <asp:TextBox ID="txt_M" runat="server" Width="12%"></asp:TextBox>
                                     COM:
                                     <asp:TextBox ID="txt_COM" runat="server" Width="12%"></asp:TextBox>
                                 </td>
                            </tr>

                             <tr>
                                <td  style="width: 15%"  class="FormLineItemAlt">Engine:</td>
                                 <td  style="width: 35%"  class="FormLineItemAlt">
                                     <asp:TextBox ID="txt_Model" runat="server" Enabled="False" Width="35%"></asp:TextBox>
                                     <asp:TextBox ID="txt_EngineNum" runat="server" ClientIDMode="Static" 
                                         Enabled="False" Width="55%"></asp:TextBox>
                                 </td>
                                         <td class="FormLineItemAlt" style="width: 15%">&nbsp;</td>
                                 <td class="FormLineItemAlt" style="width: 35%">
                                     Ratio L:
                                     <asp:TextBox ID="txt_RatioL" runat="server" Width="12%"></asp:TextBox>
                                     Ratio P:
                                     <asp:TextBox ID="txt_RatioP" runat="server" Width="13%"></asp:TextBox>
                                     FCT:
                                     <asp:TextBox ID="txt_FCT" runat="server" Width="12%"></asp:TextBox>
                                 </td>
                            </tr>

                            <tr>
                               <td   class="FormLineItemAlt" style="width: 15%">Notes:</td>
                                 <td   class="FormLineItemAlt" colspan="3">
                                     <asp:TextBox ID="txt_Notice" runat="server" Height="53px" TextMode="MultiLine" 
                                         Width="96%"></asp:TextBox>
                                </td>
                            </tr>

                            </table>

                        </td>
                       
                        </tr>
                   </table>

                   <table border = "0", width="100%">
                       <tr>
                            <td>
                                <asp:Button ID="btn_Save" runat="server" BackColor="#1B7FC2" 
                                    ForeColor="#FFFFFF" Height="30px" 
                                     Text="Save" Width="90px" onclick="btn_Save_Click"  />
                                <asp:Button ID="btn_Cancel" runat="server" BackColor="#1B7FC2" 
                                    ForeColor="#FFFFFF" Height="30px" OnClientClick="return Main.cancelDialogClick()" 
                                    Text="Close" Width="90px" />
                                <asp:Button ID="btn_Print" runat="server" BackColor="#1B7FC2" 
                                    ForeColor="#FFFFFF" Height="30px" 
                                     Text="Print" Width="90px" OnClientClick="PopupPrint();" 
                                    onclick="btn_Print_Click"  />
                                <asp:HiddenField ID="hf_GeneralID" runat="server" ClientIDMode="Static" />
                            </td>
                       </tr>

                       <tr>
                            <td>
                                <asp:Label ID="lb_Message" runat="server" Text=":" Font-Bold="True"></asp:Label>
                                </td>
                       </tr>
                   </table>

        </ContentTemplate>
       
    </asp:UpdatePanel>
    
    </form>
</body>
</html>
